package com.thinkTank.oa.entity;

import java.io.Serializable;

/***
 * 
 * @author dq
 * @date 2018-07-19
 * 用户和角色关联表
 */
public class UserOfRole implements Serializable {
	

	private static final long serialVersionUID = 1L;
	private Integer pid;
	private Integer userId;
	private Integer roleId;
	
	private User user;
	private Role role;
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	

}
